Installation
Let's dive into NestCLI and get up to speed in less than 5 minutes!
Prerequisites#
Before you begin, make sure you have the following installed:
Node.js
NestCLI requires Node.js to be installed. If you don’t have it yet, download and install it from here.Yarn
Yarn is an alternative package manager that can be used to install NestCLI. You can install it by running:npm install -g yarnOr you can download it from here.
Getting Started#
You can install NestCLI globally using either npm or Yarn. Here’s how:
Using npm:#
npm install -g nest-cliUsing Yarn:#
yarn global add nest-cliVerify Installation#
To ensure that NestCLI was installed successfully, you can check the version by running:
nest --versionThis will display the currently installed version of NestCLI.